package com.css.fxfzypg.modules.resultupload.repository;

import com.css.fxfzypg.modules.resultManagement.reportManagement.entity.PrefectureResultEntityV2;
import com.css.fxfzypg.modules.resultupload.vo.ParamVo;
import com.css.fxfzypg.modules.resultupload.vo.TaskVo;
import com.css.fxfzypg.modules.resultupload.repository.entity.PrefectureResultEntity;
import com.css.fxfzypg.modules.resultupload.repository.entity.ResultEntity;

import java.util.List;
import java.util.Map;

public interface ResultRepository {

    boolean savePrefectureResult(PrefectureResultEntity resultEntity);

    Map<String, Object> getTaskList(TaskVo taskVo, String userId, int curPage, int pageSize);

    List<PrefectureResultEntity> getPrefectureResult(String taskCode);

    boolean deletePrefectureResult(String taskCode);

    Integer prefectureResultCount(String taskCode);

    boolean saveResult(ResultEntity entity);

    int resultCount(String taskCode);

    boolean deleteResult(String taskCode);

    List<ParamVo> getResult(String taskCode);

    List<ResultEntity> queryResultData(String taskCode, ParamVo paramVo);

    List<ResultEntity> getResultByTaskId(String taskId);

    List<ResultEntity> getResultByTaskId(List<String> taskId);

    List<PrefectureResultEntity> getUploadResult(String taskCode);

    List<PrefectureResultEntity> getUploadResult(List<String> taskCodeList);
}
